home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Monster Media 1996 #15
/
Monster Media Number 15 (Monster Media)(July 1996).ISO
/
modem
/
faxhvn31.zip
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1996-05-27
|
5KB
|
123 lines
Echo off
REM *********************************************************************/
REM */
REM SYSTEM : FAXHAVEN */
REM COPYRIGHT : (c) 1996 HTF CONSULTING */
REM */
REM *********************************************************************/
REM */
REM BAT file name: Install.bat */
REM DESCRIPTION : This batch file drives the Installation prodecure */
REM for the FAXHAVEN product */
REM Install Batch file for One-Step FAXHAVEN */
REM */
REM *********************************************************************/
REM
CLS
Echo *************************************************************************
Echo * Welcome to the FAXHAVEN Installation Procedure *
Echo * Copyright (C) 1996 HTF Consulting *
Echo *************************************************************************
Echo *
Echo To install FAXHAVEN into the directory C:\FAXHAVEN, just enter "Install"
Echo To install FAXHAVEN into any other directory, enter "Install X:\dirname"
Echo Where 'X' is the drive name ( C, D, E, etc.) & "dirname" is the directory.
Echo Example(1): "INSTALL "
Echo Example(2): "INSTALL C:\MYFAXDIR"
Echo Example(3): "INSTALL D:\FAXHAVEN"
Echo *
if "%1" == "" goto verify
Echo WARNING!!! If you have entered a directory name without a drive letter
Echo or a drive letter without a directory name the installation will fail.
Echo Compare your input to the examples above.
Echo YOUR INPUT WAS: "%0 %1"
Echo *
:verify
if "%1" == "" Echo Press {spacebar} to install FAXHAVEN into the drive:directory C:\FAXHAVEN
if not "%1" == "" Echo Press {spacebar} to install FAXHAVEN into the drive:directory %1
Echo *
Echo Enter [CNTL_C] to abort, OR...
Pause
if exist c:\fh.bat goto previnstl
REM if "%1" == "" if exist C:\FAXHAVEN\*.* goto previnstl
REM if not "%1" == "" if exist %1\*.* goto previnstl
goto install
:previnstl
CLS
Echo ATTENTION! ATTENTION! ATENTION!
Echo A previous installation of FAXHAVEN is detected. You must completely remove
Echo FAXHAVEN before re-installing. Contact HTF Consulting (510) 521-1689
goto Abort
:install
CLS
Echo When the installation is complete the screen will clear and informative
Echo messages will appear!
Echo *
Echo Copying files .....
if not "%1" == "" goto Userdir
mkdir c:\FAXHAVEN
copy *.* c:\FAXHAVEN
Setpath.exe FH FAXHAVEN
Setpath.exe HQFAX FAXHAVEN
Setpath.exe FAXIT FAXHAVEN
REM erase c:\faxhaven\setpath.exe
REM erase c:\faxhaven\install.bat
goto Quit
:Userdir
mkdir %1
copy *.* %1
Setpath.exe FH %1
Setpath.exe HQFAX %1
Setpath.exe FAXIT %1
erase %1\setpath.exe
REM erase %1\install.bat
:Quit
REM CLS
REM Call HQFinfo.bat
REM Echo Print this screen if you like, and then ...
REM pause
CLS
Echo **** ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! ATTENTION! ****
Echo *
if "%1" == "" Echo FAXHAVEN is installed into the directory C:\FAXHAVEN.
if not "%1" == "" Echo FAXHAVEN is installed into the directory %1.
Echo *
Echo New users are encouraged to study and excercise the tutorial in the
Echo First Time Use section of the Readme file "Readme.FH".
Echo When you contact us for technical support, we will be happy to assist you,
Echo but we will want to know right away how far you got with the tutorial.
Echo *
Echo Registered users will want to enter their Registration key into the
Echo Registration key field in the FAXHAVEN Configuration screen.
Echo *
Echo More information follows.
Pause
Echo You may execute FAXHAVEN from any directory if the root directory (C:\;) is in
Echo your current PATH. Otherwise you may execute FAXHAVEN from the root directory.
Echo Your current PATH is:
PATH
PATH C:\;%path%
Echo *
Echo Your current PATH has been modified to include the root directory (C:\;).
Echo Your autoexec.bat file has *NOT* been modified.
Echo You may wish to update the PATH statement in your autoexec.bat file.
Echo *
Echo To start FAXHAVEN, just enter "FH" at the DOS prompt.
Echo Monochrome screen users may need to enter "FH /mono" .
Echo To start HQFAX directly, just enter "HQFAX" at the DOS prompt.
Echo Happy FAXing!
:Abort
:quit
C:
chdir c:\
Echo on